from general import *
def mainpage():
	return """
	<!DOCTYPE html>
	<html>
	"""+header+"""
	<body>
	"""+more+daohangQwQ+"""
	<div class="container">
		<div style="height: 60px;"></div>
		<div class="row" >
			<div class="col-md-8">
				<div class="panel panel-default card" id="main">
                    <div class="panel-heading">
                        <h3 class="panel-title"><i class="fa fa-cogs"></i>&emsp;设置</h3>
                    </div>
	                <div style="padding-left:10px;padding-right:10px">
					<h2>主体色块</h2>
					<div id="color"></div>
					
					<h2>TOC</h2>
					<label>
					<input type="checkbox" id="enable-toc">启用/禁用$\\rm TOC$
					</label>

					<h2>一言</h2>
					<label>
					<input type="checkbox" id="enable-hitokoto">启用/禁用一言
					</label>

					<h2>鼠标特效</h2>
					<label>
					<input type="checkbox" id="enable-mouse">启用/禁用鼠标特效
					</label>

					<h2>透明度与背景</h2>
					<label>
					<input type="text" id="opacity"/>
					</label><br>
					<label>
					<input type="checkbox" id="enable-background">启用/禁用背景</input>
					</label>
					<label>
					<input type="text" id="background"/>
					</label>
					
					</div>
				</div>
				<script src="main.js"></script>
			</div>
			<div class="col-md-3">

					"""+my+ friend+"""
			</div>
		</div>
	 </div>
	</body>
	</html>
	"""
write("settings\\index.html",mainpage().replace('<li><a href="/settings/">','<li class="active"><a href="/settings/">'))